-
Notifications
You must be signed in to change notification settings - Fork 421
feat(metrics): update max user-defined dimensions from 9 to 29 #1417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(metrics): update max user-defined dimensions from 9 to 29 #1417
Conversation
tests/functional/test_metrics.py
Outdated
# GIVEN we have more dimensions than CloudWatch supports | ||
dimensions = [{"name": f"test_{i}", "value": "test"} for i in range(11)] | ||
# GIVEN we have more dimensions than CloudWatch supports (N+1) | ||
dimensions = [{"name": f"test_{i}", "value": "test"} for i in range(31)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps, let's start using the constant MAX_DIMENSIONS
so these can be updated/failed accordingly?
Codecov Report
@@ Coverage Diff @@
## develop #1417 +/- ##
========================================
Coverage 99.89% 99.89%
========================================
Files 119 121 +2
Lines 5456 5480 +24
Branches 624 627 +3
========================================
+ Hits 5450 5474 +24
Misses 2 2
Partials 4 4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…changes in future
Signed-off-by: heitorlessa <[email protected]>
Signed-off-by: heitorlessa <[email protected]>
thanks a lot @leandrodamascena !! I've updated the documentation to reflect the new dimension limit, and reverted the test to be N+1 instead of N+2 (both works) |
Issue number: #1413
Summary
Changes
Amazon added support to up 30 dimensions per metric. In this PR we increase this limit
User experience
Before: User could add up to 10 dimensions per user defined metric
After: User can add up to 30 dimensions per user defined metric.
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Is this a breaking change?
RFC issue number:
Checklist:
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.